<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>深的日志空间</title>
    <%- include("link")%>
    <link rel="stylesheet" href="/css/personalspace.css">
   
    <!-- 表情 -->
    <script src="/js/emoji_jQuery.min.js"></script>

</head>

<body>
    <div id="container">
        <%- include("nav")%>
        <div id="s-content">
            
            
            <div id="s-left">
                <div class="s-userinfo">
                    <div class="suheader">

                        <!-- 已登录用户的id -->
                        <%if(iflogin){%>
                            <span class="shuserid" style="display: none;" data-isadmin="<%=user.isAdmin%>"><%=user.id%></span>
                        <%}%>
                       

                        <div class="h-title">博主个人信息</div>
                        <div class="infobox">
                            <div class="sh-photo">
                                <img src="/photo/<%=admin.photo%>" alt="">
                            </div>
                            <div class="shinfo">
                                <span>用户名：<i><%=admin.userName%></i></span>
                                <span>年龄：<i><%=admin.age%></i></span> 
                                <span>签名：<i><%=admin.signature%></i></span>
                                <span>发布<i class="mount"></i>条日志</span>     
                            </div>
                        </div>
                    </div>
                    
                   

                    <%if(iflogin&&user.isAdmin){%>
                        <div class="subottom">
                            <div class="b-title">发表日志</div>
                            <div id="div-emoji">
                                    <p>
                                        <textarea name="" id="input" cols="30" rows="10" placeholder="请输入文字"></textarea>
                                    </p>
                                    <p class="psbtn">
                                        <button id="btn"></button>
                                        <button id="send">发表</button>
                                    </p>
                                </div>
                        </div>
                    <%}%>
                </div>
             </div>
             <div id="s-right" data-iflogin="<%=iflogin%>">
                    <div id="logtitle">
                        博主的日志
                    </div>
                    <div id="log-box">
    
    
                    </div>
                    <div class="more">
                        <button id="loadmore">加载更多</button>
                    </div>
                </div>
        </div>
        <%- include("mask")%>
    </div>
</body>
<script src="/js/includ.js"></script>
<script src="/js/personalspace.js"></script>
</html>